projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d3f281
)
shortcuts: Fix view filtering
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Dec 2015 23:40:51 +0000
(18:40 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Dec 2015 23:40:51 +0000
(18:40 -0500)
When adding invisible groups to the pages/columns, we were
mistakenly creating new columns because the row count
stayed at zero.
https://bugzilla.gnome.org/show_bug.cgi?id=759517
gtk/gtkshortcutssection.c
patch
|
blob
|
history
diff --git
a/gtk/gtkshortcutssection.c
b/gtk/gtkshortcutssection.c
index 03dac89ff007191a9d5ab6facba8619f3a5dc96d..0ca0386a872e054b0df7cf5be8bdc08fe20f4478 100644
(file)
--- a/
gtk/gtkshortcutssection.c
+++ b/
gtk/gtkshortcutssection.c
@@
-645,7
+645,7
@@
gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
if (!visible)
height = 0;
- if (
n_rows == 0
|| n_rows + height > self->max_height)
+ if (
current_column == NULL
|| n_rows + height > self->max_height)
{
GtkWidget *column;
GtkSizeGroup *group;